/**
 * Created by xiebang
 * Description
 * User:小谢
 * Date:2021-08-06
 * Time:9:54
 */
public class Test {
    public static void main(String[] args) {
        myLinkedList myLinkedList = new myLinkedList();
        //myLinkedList.createList();
//        myLinkedList.addFirst(1);
//        myLinkedList.addFirst(2);
//        myLinkedList.addFirst(3);
//        myLinkedList.addFirst(4);
//        myLinkedList.addFirst(5);
        myLinkedList.addLast(1);
        myLinkedList.addLast(1);
        myLinkedList.addLast(1);
        myLinkedList.addLast(2);
        myLinkedList.addLast(1);
        myLinkedList.addLast(3);
        myLinkedList.addLast(1);
        myLinkedList.addLast(4);
        myLinkedList.addLast(1);
        myLinkedList.show();
//        System.out.println(myLinkedList.size());
//        System.out.println(myLinkedList.contains(5));
//        System.out.println(myLinkedList.contains(1));
//        myLinkedList.addFirst(0);
//        myLinkedList.addLast(10);
//        myLinkedList.addIndex(10,4);
//        myLinkedList.show();
//        myLinkedList.remove(10);
        myLinkedList.removeAllKey(1);
        myLinkedList.show();
    }
}
